Crate simulacrum [] [src]

Re-exports

pub use self::mock::Expectations;
pub use self::user::Method;
pub use self::validator::stock::*;

Modules

constraint
expectation
macros
mock

Mock object internals. You can use this API to construct mock objects manually.

user

This is the API that you'll call in your tests when using your Mock objects.

validator

Macros

params

Use this macro to create a Validator that works for methods with 2-6 parameters.

Type Definitions

ExpectationId

The keys used in a HandleBox. A typedef for u32.

MethodName